package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 监测项对象 dispatchMonitoringItem
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchMonitoringItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 监测项编号 */
    @Excel(name = "监测项编号")
    private Long monitoringItemId;

    /** 监测项名称 */
    @Excel(name = "监测项名称")
    private String monitoringItemName;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 监测数据值 */
    @Excel(name = "监测数据值")
    private BigDecimal monitoringValue;

    /** 监测数据对应的日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "监测数据对应的日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date monitoringDate;

    /** 监测数据对应的小时 */
    @Excel(name = "监测数据对应的小时")
    private Integer monitoringHour;

    public void setMonitoringItemId(Long monitoringItemId) 
    {
        this.monitoringItemId = monitoringItemId;
    }

    public Long getMonitoringItemId() 
    {
        return monitoringItemId;
    }
    public void setMonitoringItemName(String monitoringItemName) 
    {
        this.monitoringItemName = monitoringItemName;
    }

    public String getMonitoringItemName() 
    {
        return monitoringItemName;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setMonitoringValue(BigDecimal monitoringValue) 
    {
        this.monitoringValue = monitoringValue;
    }

    public BigDecimal getMonitoringValue() 
    {
        return monitoringValue;
    }
    public void setMonitoringDate(Date monitoringDate) 
    {
        this.monitoringDate = monitoringDate;
    }

    public Date getMonitoringDate() 
    {
        return monitoringDate;
    }
    public void setMonitoringHour(Integer monitoringHour) 
    {
        this.monitoringHour = monitoringHour;
    }

    public Integer getMonitoringHour() 
    {
        return monitoringHour;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("monitoringItemId", getMonitoringItemId())
            .append("monitoringItemName", getMonitoringItemName())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("monitoringValue", getMonitoringValue())
            .append("monitoringDate", getMonitoringDate())
            .append("monitoringHour", getMonitoringHour())
            .toString();
    }
}
